import os;
import time
from machine import Pin

p13 = Pin(13, Pin.OUT)    # led指示灯

def  led_blink_show_status(blink_times):
	i = 0;
	while i < blink_times:
		time.sleep_ms(250);
		if i % 2 == 0:
			p13.on()  # set pin to "on" (high) level
		else:
			p13.off() # set pin to "off" (low) level
		i = i + 1
	p13.on()


if __name__ == '__main__':
	led_blink_show_status(100)#闪烁100次